<%-- 
    Document   : index.jsp
    Created on : 2014-12-12, 23:36:05
    Author     : lzg
--%>
<%@page import="java.util.UUID"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String uuid = UUID.randomUUID().toString();
    request.setAttribute("uuid", uuid);
    String sessionId = session.getId();
%>

    <!--用来存放文件信息-->
    <div id="uploadList" ></div>
    <span class="btn btn-default" id="uploadPick">
        <span class="glyphicon glyphicon-paperclip" aria-hidden="true"></span> 选择文件
    </span>
<script type="text/javascript">
    var attIds = [];
    $(function () {
         webUtils.fileUploader({
             
         });
    });

    var download = function (filedata) {
        window.open(ctx + "/attachmentAction/download.do?id=" + filedata.id);
    };
</script>